input_text="This это Текст написанный с консоли"
input_text+=" "
count_words=0
count_def=0
i=0
word_now=""
while i < len(input_text):
    if input_text[i]=="-":
        count_def+=1
    if input_text[i]==" ":
        count_words+=1
        print(word_now)
        word_now = ""
    else:
        word_now += input_text[i]
    i += 1
print(count_words)


count_bigSymb=0
x=0
is_having_big_symbol=False

while x < len(input_text):
    if ord(input_text[x]) in range(ord('A'),ord('Z')+1):
        is_having_big_symbol=True
    if is_having_big_symbol==True:
        count_bigSymb+=1
        x+=1

print(is_having_big_symbol, count_bigSymb)
